package com.fleetsystem.action;

import java.util.List;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;

import com.fleetsystem.entity.Abastecimento;
import com.fleetsystem.entity.Carro;
import com.fleetsystem.entity.Motorista;
import com.opensymphony.xwork2.ActionSupport;

public class FleetController extends ActionSupport {

	private static final long serialVersionUID = 1L;
	
	private List<String> motoristas;
	private List<String> veiculos;
	private Motorista motorista;
	private Carro carro;
	private Abastecimento abastecimento;
	
	@Action(value="cadastraAbastecimento", results={
		@Result(location="/index.jsp", name="index")	
	})
	public String cadastraAbastecimento() {
		
		return "index";
	}

}
